package com.nineclock.approve.service;

import com.nineclock.approve.dto.ApproveDefinitionResultDto;
import com.nineclock.approve.dto.ApproveDefinitionSaveDto;
import com.nineclock.approve.dto.ApproveGroupDefinitionDto;

import java.util.List;

public interface ApproveDefinitionService {
    // 查询列表并分组
    List<ApproveGroupDefinitionDto> queryDefinitionGroup();
// 新增/修改
    void saveApproveDefinition(ApproveDefinitionSaveDto approveDefinitionSaveDto);
// 根据iD查询数据
    ApproveDefinitionResultDto queryDefinitionById(String id);
}
